<div id="modulHeader">
	<div class="modul">Gästebuch</div>
	<span class="postit"><a href="?new">Eintrag schreiben</a></span>
</div>
<div id="guestbook">
	{if="isset($modulError)"}
		<div id="error">{$modulError}</div>
	{/if}
    {loop="modul"}
        <li>
    		<div class="Titel">{$value->PostTitel}</div>
    		<div class="Text">{$value->PostText}</div>
    		<div class="von">
    			{if="isset($visitorID) && $visitorID == $user_id"}
        			<div class="aktion">
        				<a href="?del={$value->ID}">Löschen</a>
        			</div>
				{/if}
    			von 
        		{if="isset($value->FromNetworkUserID->username)"}
        			{$value->FromNetworkUserID->username}
        		{else}
        			<a href="mailto:{$value->FromEmail}">{$value->FromName}</a>
        		{/if}
        		am {$value->PostTime}
    		</div>
        </li>
    {/loop}
</div>
{include="modul/paginator"}